home *** CD-ROM | disk | FTP | other *** search
/ Aminet 34 / Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso / Aminet / disk / optim / PFSDefragTry.lha / RCS / PFSDefragTry.readme < prev   
Encoding:
Text File  |  1999-10-08  |  9.9 KB  |  384 lines

  1. head    1.5;
  2. access;
  3. symbols;
  4. locks;
  5. comment    @# @;
  6.  
  7.  
  8. 1.5
  9. date    99.10.08.18.20.06;    author helios;    state Exp;
  10. branches;
  11. next    1.4;
  12.  
  13. 1.4
  14. date    99.10.08.17.38.43;    author helios;    state Exp;
  15. branches;
  16. next    1.3;
  17.  
  18. 1.3
  19. date    99.09.29.12.25.35;    author helios;    state Exp;
  20. branches;
  21. next    1.2;
  22.  
  23. 1.2
  24. date    99.09.29.12.11.47;    author helios;    state Exp;
  25. branches;
  26. next    1.1;
  27.  
  28. 1.1
  29. date    99.09.29.11.50.20;    author helios;    state Exp;
  30. branches;
  31. next    ;
  32.  
  33.  
  34. desc
  35. @PFSDefragTry.readme
  36. Tries to defragment files on a PFS volume using the
  37. PFS built-in defragment on overwrite feature.
  38. @
  39.  
  40.  
  41. 1.5
  42. log
  43. @- update the readme. now filenote setting should really work
  44. @
  45. text
  46. @Short:    Tries to defrag PFS partitions (1.5), with source
  47. Uploader: Martin-Steigerwald@@gmx.net (Martin Steigerwald)
  48. Author:   Martin Steigerwald and Stefano Pucino
  49. Type:     disk/optim
  50.  
  51.  
  52. $VER: PFSDefragTry.readme 1.5 (29.9.1999)
  53. $Id: PFSDefragTry.readme 1.4 1999/10/08 17:38:43 helios Exp $
  54.  
  55. Note this is a later version than the previous 37.5 version!
  56.  
  57. ABOUT
  58.  
  59. *Tries* to defragment PFS partitions by recopying all fragmented files.
  60. Will run diskvalid in analyse mode to get a list of the fragmented files.
  61.  
  62.  
  63. DISCLAIMER
  64.  
  65. I REJECT ANY RESPONSIBILITIES IF YOU LOOSE YOUR DATA.
  66.  
  67. * NO WARRANTIES * NO WARRANTIES * NO WARRANTIES * NO WARRANTIES *
  68.  
  69. So, I hope this is clear now. ;-) Sorry, but I had to do this.
  70.  
  71. NOTE: THIS IS A BETA VERSION. THE NEW FILENOTE, DATE AND ATTRIBUTE SUPPORT
  72. HAS NOT BEEN TESTED THOROUGHLY. USE AT YOUR OWN RISK!
  73.  
  74.  
  75. DISTRIBUTION
  76.  
  77. PFSDefragTry was Freeware, is Freeware and will always be Freeware. Now
  78. including source. When you want to continue development see below under
  79. "FURTHER DEVELOPMENT?".
  80.  
  81.  
  82. FURTHER DEVELOPMENT?
  83.  
  84. I have no time to fiddle around with this now. Thus I included the source
  85. code to allow further developments.
  86.  
  87. You can freely continue development *non-commercially*. This means this
  88. and further developments can only ever be released non-commercially as
  89. freeware.
  90.  
  91. You can continue developing without noticing me. But then please rename it
  92. when you release it and keep my name mentioned.
  93.  
  94. I prefer when you contact me when you want to continue development. Then I
  95. could hand it over to you for further development officially. This means
  96. you also take over support for it. ;-) (Its not a lot support queries,
  97. really.)
  98.  
  99. Continuing development is easy: AmigaE 3.3 is freeware now. Just download
  100. and use it. But you may well transfer the source to C if you like.
  101.  
  102.  
  103. TODO
  104.  
  105. Some ideas I got from users (well there are actually some;-):
  106. - preserve protection bits and filenotes. Yes, my copy routine didn't
  107.   care about this at all.
  108.   Easy solution:  Just make C:Copy resident and use C:Copy CLONE
  109.   Other solution: Implement the needed stuff in the copy routine of
  110.                   PFSDefragTry
  111.   (Stefan Schulz, Arnljot Arntsen)
  112.  
  113. Ideas of my own:
  114. - some GUI with progress display and stuff
  115.  
  116.  
  117. REQUIREMENTS
  118.  
  119. AmigaOS2.0+
  120. PFS2/3. It also works on AFS, but I really recommended to update to PFS2/3!
  121.  
  122.  
  123. USAGE
  124.  
  125. Usage is simple.
  126.  
  127. PFSDefragTry DEVICE/A,TEMPDIR,BUFLEN/N
  128.  
  129. As you can see only one argument is needed. And this is the device you
  130. want to defragment!
  131.  
  132. With TEMPDIR you can specify where PFSDefragTry should copy the files
  133. file by file in order to let PFS defragment them. If you do not
  134. specify it files will be copied into DEVICE/A:. I recommend pointing
  135. TEMPDIR to an other partition than the one being defragmented.
  136.  
  137. TEMPDIR must have enough space to hold the biggest file to defragment. To
  138. find it out exactly try diskvalid DEVICE/A ANALYSE, look which files have
  139. been fragmented, and look which one is the largest of them. It is always
  140. save to just leave as much space in tempdir that the largest file of the
  141. complete partition will fit into there.
  142.  
  143. Files will be copied one by one. So one file will be copied. Then deleted.
  144. Then either renamed to its original name if your tempdir is on the same
  145. device that should be defragmented or copied back to its original place.
  146.  
  147. If there is not enough space, you get get AmigaDOS requesters. No extra
  148. space checking is done! Anyway files that are to big will simply not
  149. defragmented. Nothing else will happen. But you have to click that
  150. requesters away.
  151.  
  152. The more free space you have on the partition to defragment the better the
  153. chance to get a successful defragmentation. PFSDefragTry ONLY tries do
  154. use PFS to defragment files. It does not defragment the free space on a
  155. device.
  156.  
  157. Note: Currently all files that PFSDefragTry copies to defragment them
  158. will be set to the actual date! This is due to my own copying routine
  159. which simply uses AmigaDOS Read() and Write(). C:Copy doesn't like
  160. filenames with wildcards in it so I could not use it.
  161.  
  162. Maybe future versions will take care of the date stamps of the files. I
  163. don't need this, so it may only be implemented when someone ask me to do
  164. it.
  165.  
  166. The last parameter specifies the buffer size in bytes the copy routine
  167. will use! Default value is 65536. I recommend to set this to 1048576
  168. - 1 MB - or even more in order to avoid unnecessary hard disk head
  169. movements at least when TEMPDIR is on the same hard disc than the
  170. partition that is defragmented.
  171.  
  172. Some words about efficiency: It works fairly good, but it does not always
  173. be successful. Running it several times will most likely give better
  174. results than running it once.
  175.  
  176. When you have question or suggestion don't hesitate to email me.
  177.  
  178.  
  179. HISTORY
  180.  
  181. Hel = Martin 'Helios' Steigerwald
  182. Max = Stefano 'Max Headroom' Pucino
  183. When nothing is stated assume Hel ;-)
  184.  
  185. revision 1.5
  186. date: 1999/10/08 18:15:35;  author: helios;  state: Exp;  lines: +37 -25
  187. - now I have it... hmmm... Stefan stored the pointers to the
  188.   comment, the filedate and the protection bits to variables
  189.   and freed the DosObject afterwards and then used them to
  190.   restore the file data... this can't work or only works
  191.   in the case when the freed structure has not been overwritten
  192.   again
  193.   AH this, sucked ;-)
  194.   hopefully it really copies filenotes now... now keeps
  195.   fib open till not used anymore
  196. - added some more comments to the source
  197.  
  198. revision 1.4
  199. date: 1999/10/08 17:35:31;  author: helios;  state: Exp;  lines: +76 -43
  200. - cosmetical changes, revised error messages
  201. - tried to find not setting filenote problem... this
  202.   is strange. I could reproduce it when there was other
  203.   activity on disc but after some changes it seemed to
  204.   be gone
  205. - cause of that I added all error checking it can get
  206.   when comment can not be set it should really complain
  207.   now
  208.  
  209. revision 1.3
  210. date: 1999/09/29 12:23:22;  author: helios;  state: Exp;  lines: +2 -2
  211. - changed some texts
  212.  
  213. revision 1.2
  214. date: 1999/09/29 12:15:27;  author: helios;  state: Exp;  lines: +29 -6
  215. - now under control of HWGRCS (Hel)
  216. - implemented CTRL-C check while copying (Max)
  217. - implemented support for filecomment, date and attributes (Max)
  218. - This tool is completely Y2K-free ;-)) (Max)
  219.  
  220. PFSDefragTry 37.4 (17.9.1999)
  221. - changed name to PFSDefragTry, since PFS3 is out, and it also works
  222.   on AFS
  223. - changed legal status to public domain
  224. - added FURTHER DEVELOPMENT?
  225. - added TODO
  226. - little other changes in this readme
  227. - updated my email address!
  228.  
  229.  
  230. THANKS GO TO
  231.  
  232. Stefan Pucino for the 37.5 update with filenote, attributes and date
  233. support that I put into 1.2
  234.  
  235. Simon Dick for the idea.
  236.  
  237. Mark Harden for his work on the AFS FAQ and the support Fourth Level
  238. Developments should have actually done.
  239.  
  240. Michiel Pelt for PFS2!
  241.  
  242. Wouter van Oortmerssen for Amiga E
  243.  
  244.  
  245. AUTHOR
  246.  
  247. Martin Steigerwald
  248. Email: Martin-Steigerwald@@gmx.net
  249. Web:   http://helios.home.pages.de
  250.  
  251. @
  252.  
  253.  
  254. 1.4
  255. log
  256. @- updated readme to 1.4
  257. @
  258. text
  259. @d1 1
  260. a1 1
  261. Short:    Tries to defrag PFS partitions (1.4), with source
  262. d7 2
  263. a8 2
  264. $VER: PFSDefragTry.readme 1.4 (29.9.1999)
  265. $Id: PFSDefragTry.readme 1.3 1999/09/29 12:25:35 helios Exp $
  266. d139 13
  267. @
  268.  
  269.  
  270. 1.3
  271. log
  272. @- removed old history
  273. - inserted new history from RCS
  274. - BETA warning
  275. - this is a later version than 37.5 note
  276. @
  277. text
  278. @d1 1
  279. a1 1
  280. Short:    Tries to defrag PFS partitions (1.2), with source
  281. d7 2
  282. a8 2
  283. $VER: PFSDefragTry.readme 1.3 (29.9.1999)
  284. $Id: PFSDefragTry.readme 1.2 1999/09/29 12:11:47 helios Exp $
  285. d138 12
  286. @
  287.  
  288.  
  289. 1.2
  290. log
  291. @- now under control of HWGRCS
  292. - added history stuff from Stefan Pucino
  293. @
  294. text
  295. @d7 4
  296. a10 2
  297. $VER: PFSDefragTry.readme 1.2 (29.9.1999)
  298. $Id$
  299. d26 3
  300. d139 6
  301. a144 1
  302. PFSDefragTry 1.2 beta (29.9.1999)
  303. a158 12
  304. PFS2DefragTry 37.3 (16.10.98)
  305. - changed name from afsdefragtry to PFS2DefragTry for obvious reasons
  306. - updated documentation a bit and removed some bla bla from it
  307. - changed format of history
  308. - removed BETA status from it
  309.  
  310. afsdefragtry 37.2 beta (30.6.98)
  311. - increased buffersize for filenames to 1024
  312. - tempfile will now always be called "---afsdefragtry.tmp---"
  313.   in order to avoid that one file is accidentally over-
  314.   written (i.e. if disk.info is defragmented with tempdir:
  315.   dh0: dh0:disk.info would have been overwritten before)
  316. d160 1
  317. a160 2
  318. afsdefragtry 37.1 beta (23.6.96)
  319. - added linefeed to text "remove delete protection failed!"
  320. d162 2
  321. a163 5
  322. afsdefragtry 37.0 beta (21.6.96)
  323. - first public *BETA* release
  324.  
  325.  
  326. THANKS GO TO
  327. @
  328.  
  329.  
  330. 1.1
  331. log
  332. @Initial revision
  333. @
  334. text
  335. @d1 1
  336. a1 1
  337. Short:    Tries to defrag PFS partitions (37.4), with source
  338. d3 1
  339. a3 1
  340. Author:   Martin-Steigerwald@@gmx.net (Martin Steigerwald)
  341. a4 2
  342. Replaces: disk/optim/PFS2DefragTry.lha
  343. Replaces: disk/optim/afsdefragtry.lha
  344. d7 2
  345. a8 1
  346. $VER: PFSDefragTry.readme 37.4 (17.9.1999) (W) by Martin Steigerwald
  347. d131 2
  348. a132 1
  349. 17.9.1999
  350. d134 7
  351. a140 1
  352. PFSDefragTry 37.4
  353. d149 12
  354. a160 21
  355. 16.10.98
  356.  
  357. PFS2Defragtry 37.3
  358.     changed name from afsdefragtry to PFS2DefragTry for obvious reasons
  359.     updated documentation a bit and removed some bla bla from it
  360.     changed format of history
  361.     removed BETA status from it
  362.  
  363. 30.6.98
  364.  
  365. afsdefragtry 37.2 BETA
  366.     increased buffersize for filenames to 1024
  367.     tempfile will now always be called "---afsdefragtry.tmp---"
  368.         in order to avoid that one file is accidentally over-
  369.         written (i.e. if disk.info is defragmented with tempdir:
  370.         dh0: dh0:disk.info would have been overwritten before)
  371.  
  372. 23.6.96
  373.  
  374. afsdefragtry 37.1 BETA
  375.     added linefeed to text "remove delete protection failed!"
  376. d162 2
  377. a163 1
  378. 21.6.96
  379. d165 2
  380. a166 2
  381. afsdefragtry 37.0 BETA
  382.     first public *BETA* release
  383. @
  384.